package com.kittlen.managementSystem.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.kittlen.managementSystem.entity.MySqlLimit;
import com.kittlen.managementSystem.entity.Notice;
import com.kittlen.managementSystem.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 学员表 服务类
 * </p>
 *
 * @author kittlen
 * @since 2021-01-26
 */
public interface IStudentService extends IService<Student> {
    List<Student> selects(@Param(Constants.WRAPPER) Wrapper wrapper, @Param("mySqlLimit") MySqlLimit mySqlLimit);
    boolean updateByCoach(Student student,String coachId,String choiceId)throws Exception;
    boolean updateAndSaveChoice(Student student, String coachId) throws Exception;
    int batchInsert(List<Student> list);
}
